package com.hoshiicloud.user.service.rbac;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hoshiicloud.common.rpc.Response;
import com.hoshiicloud.rbac.entity.SysOrganization;

/**
 * <p>
 * 系统组织 服务类
 * </p>
 *
 * @author Mr.Wu
 * @since 2019-04-18
 */
public interface ISysOrganizationService extends IService<SysOrganization> {
	 Response addDept(SysOrganization param);

	 Response updateDept(SysOrganization param);

	 Response deleteDept(String id);

	 Response getDetail(String id);

	 Response getList(Wrapper<SysOrganization> queryWrapper);

	 IPage<SysOrganization> getPage(IPage<SysOrganization> page, QueryWrapper<SysOrganization> queryWrapper, String key);
}
